package com.jf.apply_car.service;

import com.jf.apply_car.bean.Driver;
import com.jf.apply_car.bean.Userinfo;
import com.jf.apply_car.util.ResultJson;

public interface UserinfoService {
    Userinfo login(Userinfo userinfo);

    ResultJson getPage(int page, int limit, Userinfo userinfo);

    void delete(int[] ids);

    void saveOrUpdate(Userinfo userinfo, Driver driver);

    ResultJson getById(int userinfoId);

    ResultJson checkPassword(Userinfo userinfo);

    void updatePassword(Userinfo userinfo);

    ResultJson driverSelect();
}
